//
//  XHShareCell.m
//  elxc
//
//  Created by fengyn on 16/3/30.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHShareCell.h"

@implementation XHShareCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.ui_titleLabel.layer.borderColor=[ColorManager colorWithHexString:@"#4AA0FA"].CGColor;
    self.ui_titleLabel.layer.masksToBounds=YES;
    self.ui_titleLabel.layer.borderWidth=1;
    self.ui_titleLabel.layer.cornerRadius=6;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
    if (selected) {
        self.ui_titleLabel.backgroundColor=[ColorManager colorWithHexString:@"#4AA0FA"];
        self.ui_titleLabel.textColor=[UIColor whiteColor];
    }else{
        self.ui_titleLabel.backgroundColor=[UIColor whiteColor];
        self.ui_titleLabel.textColor=[UIColor colorWithWhite:0 alpha:0.6];
    }
}

@end
